//
//  UIViewController+QXUtils.h
//  Pods
//
//  Created by Qianxia on 2016/12/22.
//
//

#import <UIKit/UIKit.h>

@interface UIViewController (QXUtils)


/**
 添加到父视图
 
 @param parentViewController parentViewController description
 */
- (void)addToParentViewController:(UIViewController *)parentViewController;

/**
 使用约束添加到父视图

 @param parentViewController parentViewController description
 */
- (void)addUseConstraintsToParentViewController:(UIViewController *)parentViewController;

/**
 显示界面
 
 @param parentViewController 从哪个界面弹出， 传nil则默认为window.rootViewController
 */
- (void)showWithParentViewController:(UIViewController *)parentViewController;

@end
